package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 艺人修改记录对象 artist_edit_log
 * 
 * @author Yaphets
 * @date 2024-07-05
 */
public class ArtistEditLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 艺人修改记录主键 */
    private Long id;

    /** 艺人id */
    @Excel(name = "艺人id")
    private Long artistId;

    /** 艺人名字 */
    @Excel(name = "艺人名字")
    private String artistName;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date editTime;

    /** 操作人员ID */
    @Excel(name = "操作人员ID")
    private Long editUserId;

    /** 操作人员昵称 */
    @Excel(name = "操作人员昵称")
    private String editUserName;

    /** 修改前内容 */
    @Excel(name = "修改前内容")
    private String befInfo;

    /** 修改后内容 */
    @Excel(name = "修改后内容")
    private String aftInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArtistId(Long artistId) 
    {
        this.artistId = artistId;
    }

    public Long getArtistId() 
    {
        return artistId;
    }
    public void setArtistName(String artistName) 
    {
        this.artistName = artistName;
    }

    public String getArtistName() 
    {
        return artistName;
    }
    public void setEditTime(Date editTime) 
    {
        this.editTime = editTime;
    }

    public Date getEditTime() 
    {
        return editTime;
    }
    public void setEditUserId(Long editUserId) 
    {
        this.editUserId = editUserId;
    }

    public Long getEditUserId() 
    {
        return editUserId;
    }
    public void setEditUserName(String editUserName) 
    {
        this.editUserName = editUserName;
    }

    public String getEditUserName() 
    {
        return editUserName;
    }
    public void setBefInfo(String befInfo) 
    {
        this.befInfo = befInfo;
    }

    public String getBefInfo() 
    {
        return befInfo;
    }
    public void setAftInfo(String aftInfo) 
    {
        this.aftInfo = aftInfo;
    }

    public String getAftInfo() 
    {
        return aftInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("artistId", getArtistId())
            .append("artistName", getArtistName())
            .append("editTime", getEditTime())
            .append("editUserId", getEditUserId())
            .append("editUserName", getEditUserName())
            .append("befInfo", getBefInfo())
            .append("aftInfo", getAftInfo())
            .toString();
    }
}
